<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <meta name="color-scheme" content="light dark" />
    <title>Document</title>
    <style>
      :root {
        color-scheme: light dark;
        --nav-bg-color: #f7f7f7;
        --content-bg-color: #ffffff;
        --font-color: rgba(0, 0, 0, 0.9);
      }

      @media (prefers-color-scheme: dark) {
        :root {
          --nav-bg-color: #2f2f2f;
          --content-bg-color: #2c2c2c;
          --font-color: rgba(255, 255, 255, 0.8);
        }
      }

      :root {
        color: var(--font-color);
      }

      html, body {
        padding: 0;
        margin: 0;
        width: 100%;
        height: 100%;
        overflow: hidden;
      }
      body {
        display: flex;
        flex-direction: column;
      }
      .header {
        font-size: 9px;
        flex: 0 0 300px;
        background-color: var(--nav-bg-color);
      }

      .content {
        flex: 1;
        background-color: var(--content-bg-color);
      }
    </style>
  </head>
  <body>
    <div class="header">
      傻逼啊？
    </div>
    <div class="content"></div>
  </body>
</html>
